package FourHomeworkDesign.Adappter;

/**
 * @author 北巷_东坡
 * @date 2022/11/10 21:34
 * @computer 10741
 */
public class Client206 {
    public static void main(String[] args) {
        Adapter206 adapter206 = (Adapter206) XMLUtil.getBean();
        Cat206 cat206 = new ConcreteCat206();
        Dog206 dog206 = new ConcreteDog206();
        adapter206.setCat206(cat206);
        adapter206.setDog206(dog206);
        cat206=(Cat206) adapter206;
        cat206.catchMouse();
        cat206.cry();
        dog206=(Dog206) adapter206;
        dog206.Action();
    }
}
